<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			var ar = ["Americar", "neweece",
					"Britairan", "adaChira", "KEgypt"];
			var count=0;
			for(var i in ar){
				if(ar[i].indexOf("a")>=0||ar[i].indexOf("A")>=0)
				count++;
			}
			document.write("有",count);
		</script>
	</head>
	<body>
	</body>
</html>
